Place a unit on sentry duty by pressing the Sentry key (S key) or by choosing the Sentry option from the Orders menu. A Sentry unit may be activated by clicking on it with the mouse button, or when an enemy unit moves adjacent to it.